﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace Ccit.Mgoa.Collaboration
{
    public class MsComment
    {
        private string _id;
        private string _content;
        private string _publisherId;
        private string _publisherName;
        private string _collaborativeId;
        private string _publishDate;
        private bool _hasAttaches;

        //private string _organName;
        //private string _deptName;

        public string Id { set { _id = value; } get { return ((!string.IsNullOrEmpty(_id)) ? _id : ""); } }

        public string Content { set { _content = value; } get { return ((!string.IsNullOrEmpty(_content)) ? _content : ""); } }

        public string PublisherId { set { _publisherId = value; } get { return ((!string.IsNullOrEmpty(_publisherId)) ? _publisherId : ""); } }

        public string PublisherName { set { _publisherName = value; } get { return ((!string.IsNullOrEmpty(_publisherName)) ? _publisherName : ""); } }

        public string CollaborativeId { set { _collaborativeId = value; } get { return ((!string.IsNullOrEmpty(_collaborativeId)) ? _collaborativeId : ""); } }

        public string PublishDate { set { _publishDate = value; } get { return ((!string.IsNullOrEmpty(_publishDate)) ? _publishDate : ""); } }

        public bool HasAttaches { set { _hasAttaches = value; } get { return _hasAttaches; } }

        //public string OrganName { set { _organName = value; } get { return ((!string.IsNullOrEmpty(_organName)) ? _organName : ""); } }

        //public string DeptName { set { _deptName = value; } get { return ((!string.IsNullOrEmpty(_deptName)) ? _deptName : ""); } }

        public MsComment() { }
    }
}
